package com.clouddisk.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

/**
 * 存储信息类
 */
@Data
@TableName("storage")
public class StorageBean {

    @TableId(value = "storage_id")
    private Long storageId;

    private Long userId;

    private String deptName;

    /**
     * 占用存储大小
     */
    private Long storageSize;

    /**
     * 总存储大小
     */
    private Long totalStorageSize;

    /**
     * 修改时间
     */
    private String modifyTime;

    /**
     * 修改用户id
     */
    private Long modifyUserId;

    public StorageBean() {

    }

    public StorageBean(long userId) {
        this.userId = userId;
    }

}
